Conversation
|
@codex please review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| datasource db { | ||
| provider = "postgresql" | ||
| url = env("DATABASE_URL") | ||
| } |
There was a problem hiding this comment.
Restore datasource url for Prisma schema validity
The Prisma schema now omits the url field in the db datasource, which causes validation to fail (P1012: Argument "url" is missing in data source block "db"). The new prisma.config.ts does not satisfy the schema requirement, so prisma validate/migrate/generate and any CI steps that invoke the CLI will error before the app can run. Please keep a datasource url (or equivalent) in the schema so the client and migrations can be produced.
Useful? React with 👍 / 👎.
|
Closing this and will pursue another as there are larger changes going on right now. |
Prisma v7 Upgrade
datasource.urlis deprecated) to a new type-safe prisma.config.ts.init, seed, etc.) to use@prisma/adapter-pg.Verification
npm run test).prisma generateandprisma migrate deployverified working.